/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package unilearn.dao;

import java.util.List;
import unilearn.vo.Submission;

/**
 *
 * @author Yat
 */
public interface SubmissionDAO {

    public abstract List<Submission> getAll() throws Exception;

    public abstract Submission get(int id) throws Exception;

    public abstract List<Submission> find(Submission submission) throws Exception;

    public abstract Submission insert(Submission submission) throws Exception;

    public abstract Submission update(Submission submission) throws Exception;

    public abstract void delete(Submission submission) throws Exception;
}
